﻿namespace com.binance.client.model.trade
{
	using BinanceApiConstants = com.binance.client.constant.BinanceApiConstants;
	using ToStringBuilder = org.apache.commons.lang3.builder.ToStringBuilder;

	public class PositionRisk
	{

		private decimal entryPrice;

		private decimal leverage;

		private double? maxNotionalValue;

		private decimal liquidationPrice;

		private decimal markPrice;

		private decimal positionAmt;

		private string symbol;

		private string isolatedMargin;

		private string positionSide;

		private string marginType;

		private decimal unrealizedProfit;

		public virtual decimal EntryPrice
		{
			get
			{
				return entryPrice;
			}
			set
			{
				this.entryPrice = value;
			}
		}


		public virtual decimal Leverage
		{
			get
			{
				return leverage;
			}
			set
			{
				this.leverage = value;
			}
		}


		public virtual double? MaxNotionalValue
		{
			get
			{
				return maxNotionalValue;
			}
			set
			{
				this.maxNotionalValue = value;
			}
		}


		public virtual decimal LiquidationPrice
		{
			get
			{
				return liquidationPrice;
			}
			set
			{
				this.liquidationPrice = value;
			}
		}


		public virtual decimal MarkPrice
		{
			get
			{
				return markPrice;
			}
			set
			{
				this.markPrice = value;
			}
		}


		public virtual decimal PositionAmt
		{
			get
			{
				return positionAmt;
			}
			set
			{
				this.positionAmt = value;
			}
		}


		public virtual string Symbol
		{
			get
			{
				return symbol;
			}
			set
			{
				this.symbol = value;
			}
		}


		public virtual decimal UnrealizedProfit
		{
			get
			{
				return unrealizedProfit;
			}
			set
			{
				this.unrealizedProfit = value;
			}
		}


		public virtual string IsolatedMargin
		{
			get
			{
				return isolatedMargin;
			}
			set
			{
				this.isolatedMargin = value;
			}
		}


		public virtual string PositionSide
		{
			get
			{
				return positionSide;
			}
			set
			{
				this.positionSide = value;
			}
		}


		public virtual string MarginType
		{
			get
			{
				return marginType;
			}
			set
			{
				this.marginType = value;
			}
		}


		public override string ToString()
		{
			return (new ToStringBuilder(this, BinanceApiConstants.TO_STRING_BUILDER_STYLE)).append("entryPrice", entryPrice).append("leverage", leverage).append("maxNotionalValue", maxNotionalValue).append("liquidationPrice", liquidationPrice).append("markPrice", markPrice).append("positionAmt", positionAmt).append("symbol", symbol).append("unrealizedProfit", unrealizedProfit).append("isolatedMargin", isolatedMargin).append("positionSide", positionSide).append("marginType", marginType).ToString();
		}
	}

}